package com.w.proxy.player.playerproxy.aop;

import com.w.proxy.player.api.IDotaPlayer;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;

public class LoLPlayerIntroductionAdvice extends DelegatingIntroductionInterceptor implements IDotaPlayer {
    @Override
    public Object invoke(MethodInvocation mi) throws Throwable {
        return super.invoke(mi);
    }

    @Override
    public void dota() {
        System.out.println("I can also play dota!");
    }
}
